import com.xuggle.xuggler.Configuration;

public class XuggleTest {

	public static void main(String[] args) {
		 // If the user passes -Dxuggle.options, then we print
	    // out all possible options as well.
	    String optionString = System.getProperty("xuggle.options");
	    if (optionString != null)
	    {
	      Configuration.printHelp(System.out);
	    }

	    
	    String inputStream = "rtmp://localhost/vod/Extremists";
	    String outputStream = "d:\\output.flv";
	    // Create a Xuggler container object
	    ReStreamer rs = new ReStreamer(inputStream, outputStream);
	    
		// ReStreamer initialized; start the restreaming
		Thread t = new Thread(rs);
		t.start();


	}

}
